Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 5 🏎 #621

Closed
wants to merge 23 commits into from
Closed

Webpack 5 🏎 #621

wants to merge 23 commits into from

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Sep 9, 2020

Webpack 5 it is, since it speeds up builds quite a lot.

A warm (with cache) Webpack development build with small changes now takes a mere 7 seconds, and a production build is down to 24s 🚀

There are still a few things to do or wait for:

The changes csv-parse -> papaparse and filenamify -> sanitize-filename are needed because Webpack 5 removes automatic Node polyfills.
We could still manually polyfill those, but I thought it to be cleaner to use browser-first modules instead.

@marcelgerber marcelgerber changed the title Webpack 5 Webpack 5 🏎 Sep 9, 2020
@marcelgerber marcelgerber force-pushed the webpack-5 branch 2 times, most recently from d628c24 to ab120b7 Compare September 14, 2020 17:52
@marcelgerber marcelgerber force-pushed the webpack-5 branch 3 times, most recently from 3833903 to 2add44a Compare September 22, 2020 23:21
@marcelgerber
Copy link
Member Author

Let's close this now since it's gone very stale - we can revisit this at some point in the future (and of course use this PR for reference), or maybe we want to switch away from Webpack after all at some point.

@danyx23 danyx23 deleted the webpack-5 branch January 13, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants